<html>

<script>
function callAlert(){
alert("test");
}
</script>

<body>

<input type="button" onclick="callAlert"/>

</body>
</html>
